<!-- page heading start-->
<div class="page-heading">
	<ul class="breadcrumb">
		<li><a href="#"> 首页 </a></li>
		<li><a href="javascript:void(0);"> 信息发布 </a></li>
		<li class="active"> 信息分类</li>
	</ul>
</div>
<!-- page heading end-->
<div class="row">
	<div class="col-lg-12">
		<section class="panel">
			<header class="panel-heading">分类列表
				<span class="tools pull-right">
				</span>
			</header>
			<form id="myForm" name="myForm">
			<div class="panel-body">
				<div class="row m-bot15">
					<div class="col-lg-2">
						<input type="text" class="form-control" ng-model="channal.c_name" name="c_name" 
						placeholder="分类名称" title="分类名称" aria-describedby="sizing-addon1"/>
					</div>
					<div class="col-lg-2">
						<div class="btn-group">
							<button id="editable-sample_new" class="btn btn-primary" ng-click="search()">搜索</button>
						</div>
						<div class="btn-group">
							<button id="editable-sample_new" class="btn btn-primary" ng-click="reset()">重置</button>
						</div>
					</div>
				</div>
				<div class="m-bot15">
					<div class="from-group">
						<button class="btn btn-primary" ng-click="add()">添加</button>
					</div>
				</div>
				<section id="no-more-tables">
					<table class="table table-hover" style="margin-bottom: 6px;">
						<thead class="cf">
							<tr>
								<th width="5%"><input type="checkbox" ng-click="toggleCheckBox()"></th>
								<th width="70%">文章分类</th>
								<th width="25%">操作</th>
							</tr>
						</thead>
						<tbody>
							<tr ng-repeat="list in pageList.list">
								<td data-title="选择">
									<input type="checkbox" ng-click="toggleCheckBox(list.id)" value="{{list.id}}">
								</td>
								<td data-title="文章分类" ng-bind="list.c_name"></td>
			                    <td data-title="操作">
			                    	<button class="btn btn-primary btn-xs" ng-click="edit(list.id)" title="编辑"><i class="icon-pencil"></i></button>
			                    	<button class="btn btn-primary btn-xs" ng-click="del(list.id)" title="删除"><i class="icon-remove"></i></button>
								</td>
							</tr>
						</tbody>
					</table>
					<div paging-com></div>
				</section>
			</div>
			</form>
		</section>
	</div>
</div>
<!--body wrapper end-->